import React,{Component} from 'react';
import ReactDOM,{render} from 'react-dom';

import App from './components/App';
import Box from './components/Box';
import List from './components/List';

import { Router, Route, IndexRoute, Link, hashHistory,browserHistory,IndexLink } from 'react-router'

var router =
<Router history={browserHistory}>
  <Route path="/" component={App}>
    <Route path="/box" component={Box}/>
    <Route path="/list" component={List}/>
  </Route>
</Router>


render((
router
), document.getElementById('root'))
